home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Millenium Investment Guide / Hargreaves Lansdown - The Ultimate Millenium Investment Guide (IG).ISO / mac / Xtras / DirectMedia / DirectMedia Documentation.dxr / 00005_Field_Lingo Properties.txt < prev    next >
Text File  |  1998-04-14  |  5KB  |  89 lines

  1. Lingo Properties
  2.  
  3. All properties of the DirectMedia Xtra┬« cast member can be easily set in the Properties Dialog box, which is displayed when the cast member is created and also when you double-click the cast member icon in the cast window. These properties can also be set via Lingo. 
  4. The Sprite functions are only accessible when a DirectMedia Xtra┬« sprite is being displayed on the score. You should use the sprite channel as the argument to pass commands to the sprite.
  5.  
  6.  
  7. Cast Member Properties
  8.  
  9. the file of member -- the complete pathname of the linked Media file.
  10. Example: put the file of member 1
  11.                 -- "C:\myfile\file1.mpg"
  12.  
  13. the title of member -- the filename of the linked Media file. This property is used to resolve the pathname if the Media file is 
  14. not found on the original location.
  15. Example: put the title of member 1
  16. -- "file1.mpg"
  17.  
  18. IMPORTANT: HTTP-based files have the title "URL", which causes the Xtra not to try to locate the file at startup.
  19.  
  20. the duration of member --  the duration of the linked Media file in milliseconds.
  21. Example: put the duration of member 1
  22.                 -- 45200
  23.  
  24. the videowidth of member -- the original encoded width of the linked Media file, in pixels.
  25. Example: put the videowidth of member 1
  26.                 -- 352
  27.  
  28. the videoheight of member -- the original encoded height of the linked Media file, in pixels.
  29. Example: put the videoheight of member 1
  30.                 -- 240
  31.  
  32. the volume of member -- the audio volume to be used during playback. Values range from -100 to 0, expressed in dB.
  33. Example: put the volume of member 1
  34.                 -- -10
  35.                set the volume of member 1 to 0
  36.  
  37. the balance of member -- the audio balance to be used during playback. Values range from -100 to 100, expressed in dB.
  38. Example: put the volume of member 1
  39.                 -- -100
  40.                set the volume of member 1 to 0
  41.  
  42. the rate of member -- the playback rate to be used during playback. Values range from 0 to 200, expressed in percentage of the original playback rate.
  43. Example: put the rate of member 1
  44.                 -- 100
  45.                set the rate of member 1 to 50
  46.  
  47. the cpuboost of member -- DirectMedia Xtra┬« can slow down Director to allow more CPU time for the DirectShow driver. This can be useful if you are experiencing poor or stuttering playback.   Legal values are in the range of 0 to 95 percent, although values over 40 may result in problems with the performance of your Director animation and/or Lingo event detection. 
  48. Example: set the cpuboost of member 1 to 50
  49.  
  50. the hastoolbar of member -- indicates whether a toolbar is attached to the video window. Possible values are 0 (FALSE) or 1 (TRUE).
  51. Example: set the hastoolbar of member 1 to TRUE
  52.  
  53. the loop of member -- indicates whether the linked Media file will loop automatically. Possible values are 0 (FALSE) or 1 (TRUE).
  54. Example: set the loop of member 1 to TRUE
  55.  
  56. the playsegment of member - indicates whether only a segment of the Media file is to be played. Possible values are 0 (FALSE) and 1 (TRUE). 
  57. Example: set the playsegment of member 1 to TRUE
  58.  
  59. the segmentstart of member - specifies the start time of the Media file to be played, in milliseconds. Only active if "the playsegment of the member" is TRUE. 
  60. Example: set the segmentstart of member 1 to 10700
  61.  
  62. the segmentend of member - specifies the end time of the Media file to be played, in milliseconds. Only active if "the playsegment of the member" is TRUE. 
  63. Example: set the segmentend of member 1 to 43200
  64.  
  65. the pausedatstart of member - indicates whether the Media file should be opened in "paused" state. Possible values are 0 (FALSE) and 1 (TRUE). 
  66. Example: set the pausedatstart of member 1 to TRUE
  67.  
  68. the cuepointtimes of member - contains a list of the cue point times associated with this member.
  69. Example: put the cuepointtimes of member 1
  70.               -- [4500,12300,34650,67321]
  71.  
  72. the cuepointnames of member - contains a list of the cue point names associated with this member.
  73. Example: put the cuepointnames of member 1
  74.               -- ["Cue 1","NewCuePoint","Start Point","Second part"]
  75.  
  76.  
  77. Sprite Properties
  78.  
  79. the currenttime of sprite - the current position of the Media file, in milliseconds.
  80. Example: put the currenttime of sprite 1
  81.               -- 22345
  82.  
  83. the mediabusy of sprite - indicates whether the Media file is playing. Possible values are 0 (FALSE) and 1 (TRUE). 
  84. Example: put the mediabusy of sprite 1
  85.                    -- 1
  86.  
  87. the mostrecentcuepoint of sprite - the index of the last cue point passed. Consult Director's documentation for additional info on this property.
  88. Example: put the mostrecentcuepoint of sprite 1
  89.                 -- 2